package site.yunnong.atvris.service.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author zjh
 * @date 2021/7/12 1:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class VideoRankVO implements Serializable {
    
    private static long serialVersionUID = 1L;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long uvid;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long uuid;

    private String userNickname;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long pid;

    private String partitionName;

    private Integer level;

    private String url;

    private String cover;

    private String title;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime uploadTime;

    private Integer viewCount;

    private Double score;
}
